package com.wosai.register.repository;

import java.util.List;

import com.wosai.register.model.BranchExpendType;

public interface BranchExpendTypeRepository {
    BranchExpendType findById(String merchantId, String branchId, String terminalId, String id);
    List<BranchExpendType> findByTerminal(String merchantId, String branchId, String terminalId);

    List<String> insertBatch(List<BranchExpendType> types);
    List<String> updateBatch(List<BranchExpendType> types);
    
    void delete(String merchantId, String branchId, String terminalId, String id);
    void deleteByTerminal(String merchantId, String branchId, String terminalId);
}
